﻿<%@ Page Title="Matriz Val. Gen." Language="VB" MasterPageFile="~/masterpages/MaestraEmpadres.master" AutoEventWireup="false" CodeFile="MatrizValGen.aspx.vb" Inherits="Empadres_MatrizValGen" %>

<%@ Register Assembly="AjaxControlToolkit" 
             Namespace="AjaxControlToolkit" 
             TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link media="screen" rel="stylesheet" href="../Estilos/colorbox.css" />
    <link href="../Estilos/formulario.css" rel="Stylesheet" type="text/css" />

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
    <script src="../jscripts/colorbox/jquery.colorbox.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            //Examples of how to assign the ColorBox event to elements
        $(".detalles").colorbox({ width: "700px", height: "490px", iframe: true });
        $(".crias").colorbox({ width: "800px", height: "590px", iframe: true });
    });
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <center>
        <table width="40%" style="font-family: Calibri, Arial; font-weight: bold; font-size: 16px">
            <tr>
                <td> &nbsp; </td>
            </tr>
            <tr>
                <td class="FormHeaderTD">
                    <asp:Label ID="lblTitulo" runat="server" Text="MATRIZ VALOR GENETICO"></asp:Label>
                </td>
            </tr>
        </table>
    </center>

    <br /><asp:TextBox ID="txtSalida" runat="server" Width="205px" ReadOnly="True" Visible="False"></asp:TextBox>

    <table>
        <tr>
            <td> &nbsp; </td>
            <td> &nbsp; </td>
        </tr>
        <tr>
            <td class="FieldCaptionTD" align="left"> AÑO EMPADRE : </td>
            <td>
                <asp:DropDownList ID="ddlAno" runat="server" AutoPostBack="True" Style="height: 22px"
                    AppendDataBoundItems="True" Height="24px" Width="60px" TabIndex="1">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td> &nbsp; </td>
            <td> <asp:ImageButton ID="imgbtnAno" runat="server" ImageAlign="Left" ImageUrl="~/images/derecha2.png"
                 ToolTip="Agrega nuevo año" CausesValidation="False" /> </td>
        </tr>
        <tr>
            <td> &nbsp; </td>
            <td> &nbsp; </td>
        </tr>
    </table>

    <p>
        <asp:Table ID="tbPrincipal" runat="server" BorderStyle="None" GridLines="Both" Font-Bold="False">
        </asp:Table>
    </p>
    <p>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetCatGralBycattip" 
            TypeName="DataSet_ohlTableAdapters.catalogo_generalTableAdapter">
            <SelectParameters>
                <asp:Parameter DefaultValue="U" Name="cattip" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </p>

</asp:Content>

